package com.klikmee.sms.chat.web.senders;

/**
 * *************************************
 * <p>
 * Defines component for sending MT messages from 
 * chat service.
 * </p>
 * @author makcro
 * *************************************
 *
 */
public interface MessageSender {
	
	/**
	 * Sends message to customer as a response to the customers initial request message
	 * @param messageText text of the message
	 * @param coreReferenceId id of the initial request message in the core database
	 * @param data additional data used to send message
	 * 
	 * @return number of sent messages if ok, else error code
	 */
	public Long sendMessage(String messageText, Long coreReferenceId, Object data);
}
